import request from '@/utils/request'
import {parseStrEmpty} from "@/utils/ruoyi";

// 查询学生试卷详情
export function listDetail(query) {
  return request({
    url: '/online/detail/list',
    method: 'get',
    params: query
  })
}

export function listStuDetail(query) {
  return request({
    url: '/online/detail/stulist',
    method: 'get',
    params: query
  })
}


export function examMarkList(query) {
  return request({
    url: '/online/detail/marklist',
    method: 'get',
    params: query
  })
}


export function addMark(query) {
  return request({
    url: '/online/detail/addMark',
    method: 'post',
    data: query
  })
}

export function hisDetailList(query){
  return request({
    url: '/online/detail/showHisDeatil',
    method: 'get',
    params: query
  })

}

export function scoreDetail(query){
  return request({
    url: '/online/detail/scoreDeatil',
    method: 'get',
    params: query
  })

}
